<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title><?php echo $GLOBALS['_vars']['collegeinfo']['name']?>大学MBA项目</title>
<meta name="description" content="" />
<meta name="keywords" content="" />
<link href="static/style/collegeinfo_detail/style1.css" rel="stylesheet" type="text/css" />
<link href="static/style/collegeinfo_detail/conmon_2.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="static/js/collegeinfo_detail/jquery-1.4.min.js"></script>
<script type="text/javascript" src="static/js/collegeinfo_detail/jquery.artDialog.js?skin=idialog"></script>
<script type="text/javascript" src="static/js/collegeinfo_detail/iframeTools.js"></script>
<script type="text/javascript" src="static/js/collegeinfo_detail/common_school1.0.js"></script>
<script type="text/javascript" src="static/js/collegeinfo_detail/thickbox/thickbox.js"></script>
<link rel="stylesheet" href="static/style/collegeinfo_detail/thickbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="static/js/collegeinfo_detail/cookie.js"></script>
<script type="text/javascript" src="static/js/collegeinfo_detail/rating_simple.js"></script>
<link href="static/style/collegeinfo_detail/rating_simple.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
  function register(){
    var email = $("input[name=email]").val();
    var realname = $("input[name=realname]").val();
    var tel = $("input[name=tel]").val();
    var degree = $("#degree option:selected").val();
    var schoolGraduate = $("input[name=schoolGraduate]").val();
    var dateGraduate = $("input[name=dateGraduate]").val();

    var email_pattern = /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
    var phone_pattern = /1[3-8]+\d{9}/;;
    $.post('?ct=index&ac=check_mail',{email:email},function(msg){
      if(msg == 1){
        alert("该邮箱已被注册过！");
        return;
      }else{
            if(!email_pattern.test(email)){
              alert("邮箱格式不正确！");
            }else if(realname == ""){
              alert("姓名不能为空！");
            }else if(!phone_pattern.test(tel)){
              alert("手机号格式不正确！");
            }else if(schoolGraduate == ""){
              alert("毕业院校不能为空！");
            }else if(!/^[1|2]\d{3}$/.test(dateGraduate)){
              alert("毕业年份格式不对！");
            }else{
                  $.post('?ct=collegeinfo_detail&ac=quick_register',{
                      email:email,
                      username:realname,
                      phone:tel,
                      degree:degree,
                      schoolGraduate:schoolGraduate,
                      dateGraduate:dateGraduate
                    },function(){
                      alert("报名成功！");
                    });
            }
      }
    });

  }
</script>
<script type="text/javascript">
    function check(){
        var textCheck_id =  $('#textCheck_id').val();
        var verify = $("#verify").val();
        if(textCheck_id == ''){
            alert('评论不能为空');
            return false;
        }
        if(verify == ''){
            alert('验证码不能为空');
            return false;
        }

        return ture;
    }

    function schoolvideo(image,path){
            art.dialog.open('index/video?path='+path+'&image='+image,{
                id:'schoolvideo',
                lock:true,
                padding:0,
                fixed:true,
                resize:false,
                drag:false
            });
        }
</script>
<style type="text/css">
.table2{ margin-top:10px; margin-bottom:10px;}
.table2 tr th{ padding:5px 0; background:#f5f6fc;}
</style>
</head>
<body>
 <script>

 function AddFavorite(sURL, sTitle) {

    try {

        window.external.addFavorite(sURL, sTitle);

    } catch (e) {

        try {

            window.sidebar.addPanel(sTitle, sURL, "");

        } catch (e) {

            alert("加入收藏失败，请使用Ctrl+D进行添加");

        }

    }

}

 </script>
<div class="top_nav">
  <h1><a href="http://www.guanjunedu.com/" target="_blank">冠君MBA</a></h1>
  <ul>
    <li><a href="http://www.guanjunedu.com/" target="_blank" style="color:#898989; text-decoration:none;">冠君教育</a>&nbsp;|&nbsp;</li>
    <li><a href="<?php echo $cfg_cmsurl; ?>/plus/collegelist.php">MBA院校库</a>&nbsp;|&nbsp;</li>
  </ul>
</div>

<!-- 添加搜索栏，by HehongChen,2014.10.31 -->
<form action="<?php echo $cfg_cmsurl; ?>/plus/collegesearch.php" method="get">
<div class="top_search">
  <div class="logo"><a href="<?php echo $cfg_cmsurl; ?>/plus/collegelist.php" ><img src="<?php echo $cfg_templets_skin; ?>/images/collegelibrary/logo1.gif" alt="MBA院校库" /></a></div>
  <ul id="selected">
    <li class="li_1 touchmenu">
    <select name="search_area" style="width:71px;border:0; font-size:12px;">
    <option value="0">地区</option>
    <?php
        $area = getTopData('area');
        foreach ($area as $key => $value) {
          echo "<option value='$key'>$value</option>";
        }
    ?>
    </select>
    </li>

     <li class="li_2 touchmenu">
      <select  name ="search_feerange" style="border:0; width:71px; font-size:12px;">
        <option value="0">学费</option>
        <?php
        $fee_range = getTopData('feeRange');
        foreach ($fee_range as $key => $value) {
          echo "<option value='$key'>$value</option>";
        }
        ?>
      </select>
  </li>

  <li class="li_3 touchmenu">
    <select name="search_projecttype" style=" width:82px;border:0; font-size:12px;">
      <option value="0">项目类型</option>
      <?php
        $project_type = getTopData('projectType');
        foreach ($project_type as $key => $value) {
          echo "<option value='$key'>$value</option>";
        }
      ?>
    </select>
  </li>

  <li class="li_4">
     <input type="text" class="keyword" name="keyword" id="textJC" onclick="this.value='';" value="输入学校名称" /><input type="image" src="<?php echo $cfg_templets_skin; ?>/images/collegelibrary/search_ss.gif" class="ss" />
  </li>
  </ul>
</div>
</form>

<div class="blank10"></div>
<div style="margin:0 auto; width:960px; text-align:left; margin-bottom:5px;"><a href="<?php echo $cfg_cmsurl; ?>/plus/collegelist.php" style=" color:#5166b4;">院校库首页</a> &gt; <a href="<?php echo $cfg_cmsurl; ?>/plus/collegesearch.php?search_area=<?php echo $GLOBALS['_vars']['area_code'] ?>" style=" color:#5166b4;"><?php echo $GLOBALS['_vars']['collegeinfo']['area'] ?></a><span style="color:#999999;"> &gt; <?php echo $GLOBALS['_vars']['collegeinfo']['name']?>MBA项目</span></div>
<div class="jj_banner">
    <div class="imgs"><img src="<?php echo $GLOBALS['_vars']['collegeinfo']['logo']?>" width="83" height="83" /></div>
    <p>
        <em><?php echo $GLOBALS['_vars']['collegeinfo']['name']?>MBA项目</em>
        <i><?php echo $GLOBALS['_vars']['collegeinfo']['englishName']?></i>
    </p>
</div>
<div class="blank10"></div>
<div class="wrap">
<a href="javascript:void(0)" style="position:relative; top:10px;width:60px; display:block;  left:630px; z-index:200; color:#5e6787;" onclick="list_db(<?php echo $GLOBALS['_vars']['collegeinfo']['collegeId']?>,'<?php echo $GLOBALS['_vars']['collegeinfo']['name']?>')">加入对比</a>
  <div class="left" style="position:relative; top:-10px;">

    <ul class="nav_list">
       <li class="li_1">项目概况</li>
       <li><a href="#infoid">招生信息</a></li>
       <li><a href="#itemid" >项目特色</a></li>
              <li><a href="#message">项目资讯</a></li>
               <li><a href="<?php echo $cfg_cmsurl; ?>/wenda/index.php?ct=index&ac=index" target="_blank">考生交流</a></li>
    </ul>
    <div class="xmgk">
       <h2><strong><a href="" target="_blank"><?php echo $GLOBALS['_vars']['collegeinfo']['name']?>MBA招生简章
</a></strong>[<a href="<?php echo $cfg_cmsurl; ?>/wenda/index.php?ct=index&ac=register" target="_blank">提交MBA报名申请</a>]</h2>
       <div class="gk_cont">
          <div class="gk_lf">
                        <a href="index/intro?schoolid=230" ><img src="{dede:global.cfg_basehost/}<?php echo $GLOBALS['_vars']['collegeinfo_detail']['picture']?>" alt="" width="250" height="180" /></a>
                      </div>
          <div class="gk_rt">
             <div class="div1">
             <?php $short = strlen(strip_tags($GLOBALS['_vars']['collegeinfo_detail']['detailSummary'])) < 250 ? $GLOBALS['_vars']['collegeinfo_detail']['detailSummary'] : cn_substr(strip_tags($GLOBALS['_vars']['collegeinfo_detail']['detailSummary']),250). "...";echo $short;?>&nbsp;&nbsp;

             <span class="color3"><a href="<?php echo $cfg_cmsurl; ?>/wenda/index.php?ct=collegeinfo_detail&ac=school_detail&schoolId=<?php echo $GLOBALS['_vars']['schoolId'] ?>">更多»</a></span>
             </div>
             <div class="div2">所在地区：<?php echo $GLOBALS['_vars']['collegeinfo']['area']?>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;创办时间：<?php echo $GLOBALS['_vars']['collegeinfo']['foundTime'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;院校性质：<?php echo $GLOBALS['_vars']['collegeinfo']['level'];?>&nbsp;<br />
                国际认证：<?php echo $GLOBALS['_vars']['collegeinfo']['interAttest'];?>&nbsp;&nbsp;&nbsp;&nbsp;分数线类别：<?php echo $GLOBALS['_vars']['collegeinfo']['scoreType'];?>
                <br />院校地址：<?php echo $GLOBALS['_vars']['collegeinfo']['address'];?><br />官方网址：<a href="<?php echo $GLOBALS['_vars']['collegeinfo_detail']['internetSite'];?>" target="_blank"><?php echo $GLOBALS['_vars']['collegeinfo_detail']['internetSite'];?></a></div>
          </div>
       </div>
    </div>
    <div class="blank15"></div>
    <div class="lf_title" id="infoid">招生信息</div>
    <div class="zs_table">
       <table cellpadding="0" cellspacing="0" border="0" width="100%" style="line-height:18px;">
       <tr>
             <td width="100" align="right" class="bg3">项目类别：</td>
            <td width="150"><?php echo $GLOBALS['_vars']['collegeinfo']['projectType'] ?></td>
             <td width="50" align="right" class="bg3">学制：</td>
          <td width="230"><?php echo $GLOBALS['_vars']['collegeinfo_detail']['eduTime'] ?></td>
             <td width="100" align="right" class="bg3">是否接受调剂：</td>
          <td width="30"><?php echo $GLOBALS['_vars']['collegeinfo_detail']['regulator'] ? "是":"否" ?></td>
         </tr>
          <tr>
             <td align="right" class="bg3">招生人数：</td>
            <td><?php echo $GLOBALS['_vars']['collegeinfo_detail']['recruitNum']; ?></td>
             <td align="right" class="bg3">学费：</td>
            <td colspan="3" style="padding:5px\;"><?php echo $GLOBALS['_vars']['collegeinfo_detail']['feeIntroduction'] ; ?></td>
          </tr>
          <tr>
             <td align="right" class="bg3">奖学金：</td>
            <td colspan="5" style="padding:5px; padding-left:10px;"><?php echo $GLOBALS['_vars']['collegeinfo_detail']['scholarship']; ?></td>
          </tr>
          <tr>
             <td align="right" class="bg3">历年分数线：</td>
          <td colspan="5" width="550" style="padding:5px 10px;">
                <table border="0" cellpadding="0" cellspacing="0" class="table1">
                      <?php echo $GLOBALS['_vars']['collegeinfo_detail']['scoreLineLog']; ?>
                </table>
            </td>
          </tr>
          <tr>
             <td align="right" class="bg3">历年招生数据：</td>
      <td colspan="5">
                <table border="0" cellpadding="0" cellspacing="1" bgcolor="#c0c2cc" class="table2">
<tr>
                      <th align="center" bgcolor="#FFFFFF">年份</th>
                      <th align="center" bgcolor="#FFFFFF">报考人数</th>
                      <th align="center" bgcolor="#FFFFFF">实考人数</th>
                      <th align="center" bgcolor="#FFFFFF">录取人数</th>
                      <th align="center" bgcolor="#FFFFFF">录取比率</th>
                  </tr>
                  <?php
                    foreach ($GLOBALS['_vars']['collegeinfo_recruit'] as $value) {
                      ?>
                      <tr>
                        <td bgcolor="#FFFFFF"><?php echo $value['year'] ?></td>
                       <td bgcolor="#FFFFFF"><?php echo $value['applyNum'] ?></td>
                       <td bgcolor="#FFFFFF"><?php echo $value['examNum'] ?></td>
                       <td bgcolor="#FFFFFF"><?php echo $value['recruitNum'] ?></td>
                       <td bgcolor="#FFFFFF"><?php echo number_format($value['recruitProportion']*100, 2, '.', '')."%"; ?></td>
                    </tr>
                    <?php
                    }
                   ?>

                </table>
            </td>
          </tr>
       </table>
    </div>
<?php if(!empty($GLOBALS['_vars']['collegeinfo_professor'])){ ?>
        <div class="blank5"></div>
    <div class="lf_title" id="itemid">著名教授</div>
    <ul class="js_list">

          <?php
          foreach ($GLOBALS['_vars']['collegeinfo_professor'] as $v) {
          ?>
                <li><a><img src="{dede:global.cfg_basehost/}<?php echo $v['picture'] ?>" height="150" width="115"  alt=""/></a>
                  <span><?php echo $v['name'] ?></span>
                </li>
        <?php
          }
          ?>

          </ul>
<?php } ?>
        <div class="blank5"></div>
    <div class="lf_title" id="itemid">项目特色</div>

<?php foreach ($GLOBALS['_vars']['collegeinfo_project'] as $project) {
  ?>

      <div class="xmts">
      <h3><?php echo $project['title']; ?></h3>
      <p><?php echo $project['content']; ?></p>
      </div>

      <?php
} ?>


<div style="background:#fafafd; height:5px; position:relative; top:-5px;"></div>
    <div class="lf_title" id="message">最新资讯</div>
    <div class="zx">
      <div class="zx_lf">
        <a target="_blank"><img src="{dede:global.cfg_basehost/}<?php echo $GLOBALS['_vars']['collegeinfo_detail']['newsPicture'] ?>" height="155" width="230" alt="" /></a>
      </div>
      <ul class="zx_rt">
                 <!-- <li>·<a href="http://www.mbachina.com/html/mbazsxx/201408/79769.html" target="_blank" title="安徽大学2015年在职MBA招生简章">安徽大学2015年在职MBA招生简章</a>&nbsp;&nbsp;<span>(2014-08-01)</span></li>
                 <li>·<a href="http://www.mbachina.com/html/tiaojifw/201402/76732.html" target="_blank" title="安徽大学2014年MBA成绩查询">安徽大学2014年MBA成绩查询</a>&nbsp;&nbsp;<span>(2014-02-20)</span></li>
                 <li>·<a href="http://www.mbachina.com/html/mbazsxx/201310/74053.html" target="_blank" title="安徽大学2014年MBA（双证）招生简章">安徽大学2014年MBA（双证）招生简章</a>&nbsp;&nbsp;<span>(2013-10-14)</span></li>
                 <li>·<a href="http://www.mbachina.com/html/sxyxw/201306/71809.html" target="_blank" title="安徽大学MBA代表团出席“2013年教学研讨会”">安徽大学MBA代表团出席“2013年教学研讨会”</a>&nbsp;&nbsp;<span>(2013-06-08)</span></li>
                 <li>·<a href="http://www.mbachina.com/html/sxyxw/201306/71679.html" target="_blank" title="安徽大学商学院出席安徽MBA2013年教学研讨会">安徽大学商学院出席安徽MBA2013年教学研讨会</a>&nbsp;&nbsp;<span>(2013-06-04)</span></li>
                 <li>·<a href="http://www.mbachina.com/html/sxyxw/201305/71577.html" target="_blank" title="安徽大学MBA出席2013安徽民营经济发展高峰论坛">安徽大学MBA出席2013安徽民营经济发展高峰论坛</a>&nbsp;&nbsp;<span>(2013-05-30)</span></li>
                 <li>·<a href="http://www.mbachina.com/html/sxyxw/201305/71562.html" target="_blank" title="安徽大学MBA中心组织徽商儒学精神专题报告会">安徽大学MBA中心组织徽商儒学精神专题报告会</a>&nbsp;&nbsp;<span>(2013-05-29)</span></li>
                 <li>·<a href="http://www.mbachina.com/html/sxyxw/201305/71521.html" target="_blank" title="安徽大学MBA代表团出席安徽民营经济发展高峰论坛">安徽大学MBA代表团出席安徽民营经济发展高峰论坛</a>&nbsp;&nbsp;<span>(2013-05-28)</span></li>
                 <li>·<a href="http://www.mbachina.com/html/sxyxw/201305/71443.html" target="_blank" title="安徽大学2012级春季MBA班创新课堂成功开展">安徽大学2012级春季MBA班创新课堂成功开展</a>&nbsp;&nbsp;<span>(2013-05-24)</span></li>
                 <li>·<a href="http://www.mbachina.com/html/sxyxw/201305/71135.html" target="_blank" title="安徽大学2012春季MBA创新课堂即将推出">安徽大学2012春季MBA创新课堂即将推出</a>&nbsp;&nbsp;<span>(2013-05-14)</span></li> -->

                 <?php
                    foreach ($GLOBALS['_vars']['collegeinfo_news'] as $news) {
                     ?>
                        <li>·<a href="<?php echo $news['link'] ?>" target="_blank" title="<?php echo $news['title'] ?>"><?php echo strlen($news['title']) < 60 ? $news['title'] : cn_substr($news['title'],60). "..."; ?></a>&nbsp;&nbsp;<span>(<?php echo date("Y-m-d ",$news['addTime']) ?>)</span></li>
                     <?php
                    }

                 ?>
              </ul>
    </div>
        <div class="blank12"></div>
        <?php if(!empty($GLOBALS['_vars']['collegeinfo_graduate'])){ ?>
        <div class="blank5"></div>
    <div class="lf_title" id="itemid">知名校友</div>
    <ul class="js_list">

          <?php
          foreach ($GLOBALS['_vars']['collegeinfo_graduate'] as $v) {
          ?>
                <li><a><img src="{dede:global.cfg_basehost/}<?php echo $v['picture'] ?>" height="150" width="115"  alt=""/></a>
                  <span><?php echo $v['name'] ?></span>
                </li>
        <?php
          }
          ?>

          </ul>
<?php } ?>
  </div>
  <div class="right" style="position:relative; top:-10px;">
     <dl class="zxbm">
        <dt><a href="<?php echo $cfg_cmsurl; ?>/wenda/index.php?ct=index&ac=register" target="_blank"><img src="static/images/collegeinfo_detail/bm_button.gif" /></a></dt>
        <?php $contact = $GLOBALS['_vars']['contact']; ?>
       <?php
       if(!empty($contact)){
        foreach ($contact as $v) {
       ?>
          <dd><?php echo $v['key'].":".$v['value'] ?></dd>
       <?php
         }
         }
        ?>
     </dl>

     <div class="blank8"></div>
     <div class="rt_cont">
         <div class="ksbm">
            <div class="rt_title color2"><strong>快速报名通道</strong></div>
            <p>如果您符合要求，大学MBA招生办公室会通过邮件/电话与您联系，邀请您拜访学校、参加公开课、招生路演以及校友见面会。</p>
            <ul>
               <li style="height:auto;">邮　　箱：
                 <input name="email" id="email" onblur="checkEmail(this.value);" type="text" class="keywords" />
                 <br />
                 <span id="emailtip"></span>
                 <span class="ts" style="display:none;" id="logintip">&nbsp;&nbsp;
                 <a class="thickbox" href="http://user.mbachina.com/index.php/app/login?keepThis=true&TB_iframe=true&height=250&width=400&projectid=5">登陆</a>&nbsp;或&nbsp;
                 <a href="http://user.mbachina.com/login/lostpasswd">找回密码</a>
                 </span>
               </li>

               <span id="repasswordtip"></span></li>
               <li style="height:auto;">姓　　名：
                 <input name="realname" id="realname"  type="text" class="keywords" />
                 <br />
                 <span id="realnametip"></span></li>
               <li style="height:auto;">手　　机：
                 <input name="tel" id="tel"  type="text" class="keywords" />
                 <br />
                  <li style="height:auto;">毕业院校：
                 <input name="schoolGraduate" id="schoolGraduate" type="text" class="keywords">
                 <br />
                 <span id="passwordtip"></span></li>
               <li style="height:auto;">毕业年份：
               <input name="dateGraduate" id="dateGraduate" type="text" class="keywords" />
               <br />
                 <span id="mobiletip"></span>
               </li>

               <li>学　　历：&nbsp;
      <select name="degree" id="degree" style="margin-top:5px; width:80px;">
          <option value="0">博士</option>
          <option value="1">硕士</option>
          <option value="2">大本</option>
          <option value="3">大专</option>
      </select>
               </li>

            </ul>
            <input type="hidden" id="schoolid" value="62" />
            <input type="hidden" name="projectid" id="projectid" value="5" />
            <div class="submit"><input onclick="register();" type="image" src="static/images/collegeinfo_detail/submit.gif" /></div>
        </div>
<!--
        <div class="rt_title"><strong>安徽大学MBA交流论坛</strong></div>
        <ul class="rt_list">
                    </ul> -->

        <div class="rt_title"><strong>最近浏览过的院校</strong></div>
        <ul class="yx_list">
        <?php
            foreach ($GLOBALS['_vars']['history_college'] as $key => $value) {
       ?>
       <li><em><a href="<?php echo $cfg_cmsurl; ?>/wenda/index.php?ct=collegeinfo_detail&ac=index&schoolId=<?php echo $value['collegeId']; ?>"><?php echo $value['name']; ?> </a></em><span><a href="javascript:void(0)" onclick="list_db(<?php echo $value['collegeId']; ?>,'<?php echo $value['name']; ?> ')"><img src="<?php echo $cfg_templets_skin; ?>/images/collegelibrary/db_button.gif"></a></span></li>
       <?php
          }
       ?>
        </ul>
       <div class="rt_title"><strong>您可能关注的院校</strong></div>
        <ul class="yx_list">
        <?php
            foreach ($GLOBALS['_vars']['recommend_college'] as $key => $value) {
       ?>
       <li><em><a href="<?php echo $cfg_cmsurl; ?>/wenda/index.php?ct=collegeinfo_detail&ac=index&schoolId=<?php echo $value['collegeId']; ?>"><?php echo $value['name']; ?> </a></em><span><a href="javascript:void(0)" onclick="list_db(<?php echo $value['collegeId']; ?>,'<?php echo $value['name']; ?> ')"><img src="<?php echo $cfg_templets_skin; ?>/images/collegelibrary/db_button.gif"></a></span></li>
       <?php
          }
       ?>
        </ul>
        <iframe src="{dede:global.cfg_cmsurl/}/wenda/index.php?ct=collegeinfo_detail&ac=news" style="padding:0;margin:0" width="100%" height="500" frameborder="0" scrolling="no"></iframe>
 &nbsp;&nbsp;  <script src='http://www.guanjunedu.com/plus/ad_js.php?aid=44' language='javascript'></script>
     </div>
  </div>

</div>
<div class="blank15"></div>
<div class="footer">
  <ul>
    <li><a href="http://www.guanjunedu.com/a/zjgj/gygj/" target="_blank">关于冠君</a> -</li>
    <li><a href="http://www.guanjunedu.com/a/zjgj/lxgj/" target="_blank">联系我们</a> -</li>
    <li><script src="http://www.guanjunedu.com/a/zjgj/flsm/" language="JavaScript"></script> -</li>

    <li><a href="http://www.guanjunedu.com/a/zjgj/flsm/" target="_blank">法律声明</a> -</li>
    <li><a href="http://www.guanjunedu.com/a/zjgj/bmlc/" target="_blank">免责声明</a> -</li>
    <li><a href="http://www.guanjunedu.com/a/zjgj/bmlc/" target="_blank">报名流程</a> -</li>
    <li><a href="http://www.guanjunedu.com/a/zjgj/ggfw/" target="_blank">项目合作</a> -</li>
    <li><a href="http://www.guanjunedu.com/special/duihuan/" target="_blank">推荐有奖</a> -</li>

    <li><a href="http://www.guanjunedu.com/" target="_blank">加入我们</a></li>
  </ul>
  <p>Copyright © 2005-2013 广州冠君教育信息咨询有限公司&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
  <p>版权所有：冠君教育 粤ICP备13065579号&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
</div>
<div class="school_db">
    <span class="headers">院校对比</span>
    <ul id='duibi'>
        <?php
          if ($sid=='') {
            echo "<li><em>未添加对比</em></li>";
          }
          else{
            $sid = rtrim($sid,',');
            $sids = explode(',', $sid);
            foreach ($sids as $key => $value) {
              $sql = "SELECT * FROM `#@__collegeinfo` WHERE  collegeId=$value";
              $college_contrast = $dsql->GetOne($sql);
        ?>
            <span id="schoolid<?php echo $value; ?>"><li><em><a href="<?php echo $cfg_cmsurl; ?>/wenda/index.php?ct=collegeinfo_detail&ac=index&schoolId=<?php echo $value; ?>" target="_blank"><?php echo $college_contrast['name']; ?></a> <a href="javascript:void(0)" onclick="delschoolid(<?php echo $value; ?>)"><img src="<?php echo $cfg_cmsurl; ?>/templets/default/images/collegelibrary/closed.gif"></a></em></li></span>
        <?php
            }//foreach end
          }
        ?>
    </ul>

    <span class="cz">
        <a href="javascript:void(0)" onclick="list_db_check()"><img src="<?php echo $cfg_templets_skin; ?>/images/collegelibrary/start_db.gif" width="69" height="23" /></a>
        <a href="javascript:void(0)" onclick="list_db_empty()"><img src="<?php echo $cfg_templets_skin; ?>/images/collegelibrary/qk.gif" width="52" height="23" /></a>
    </span>

    <div class="blank10"></div>
    <span class="bot"></span>
    <img src="<?php echo $cfg_templets_skin; ?>/images/collegelibrary/weixin.jpg" width="161" height="161">
</div>
<script type="text/javascript">
var tag=1;
function delschoolid(sid)
{
   var coo=Cookie.get('sid');
   var arr= coo.split(",");
   var len=coo.replace(sid+',',"");
   Cookie.set('sid',len,259200);
   if(len=='')
   {
     $(".school_db ul").html("<li><em>未添加对比</em></li>");
   }else{
    $('#schoolid'+sid).html('');
   }
}

function list_db(sid,sname){
  var flag=true;
  var coo=Cookie.get('sid');
  var str= '<span id=schoolid'+sid+'><li ><em><a href="<?php echo $cfg_cmsurl; ?>/wenda/index.php?ct=collegeinfo_detail&ac=index&schoolId='+sid+'" target="_blank">'+sname+'</a> <a href="javascript:void(0)" onclick="delschoolid('+sid+')"><img src="<?php echo $cfg_templets_skin; ?>/images/collegelibrary/closed.gif" /></a></em></li></span>';
  if(coo!=null){
    var arr= coo.split(",");
    if(arr.length>1){
      for(var i=0;i<arr.length;i++){
          if(arr[i]==sid) flag=false;
      }
    var len=coo.replace(sid+',',"");
   if(arr.length>4){
      alert('你已经选择四个学校对比了！');
   }
   else{
      if(!flag){
          alert('该学校已在对比中！');
      }
      else{
        $('#duibi').append(str);
        Cookie.set('sid',sid+','+len,259200);
      }
   }
  }else{
     $('#duibi').html(str);
     Cookie.set('sid',sid+',',259200);
  }
}
else{
  $('#duibi').html(str);
  Cookie.set('sid',sid+',',259200);
}
}



//开始对比

function list_db_check()
{
  var coo=Cookie.get('sid');
  if(coo==null){
    alert('至少要选择2个学校，才能对比！');
  }
  else{
    var arr= coo.split(",");
    if(arr.length>2){
      window.open ('<?php echo $cfg_plus_dir; ?>/collegecontrast.php');
    }
    else{
      alert('至少要选择2个学校，才能对比！');
    }
}
}

function list_db_delete(num){
    var names=parseInt(num);
    $("li[name="+num+"]").remove();
    if($(".school_db ul").html()=="")
    {
      $(".school_db ul").html("<li><em>未添加对比</em></li>")
    }
}

function list_db_empty(){
    $(".school_db ul").html("<li><em>未添加对比</em></li>");
    Cookie.set('sid','');
}



$(document).ready(function(){
     $("#menu_list dd").hover(function(){
        $("#menu_list dd").removeClass("sel");
        $(this).addClass("sel");
        $(".xy .xy_list").hide();
        $($(".xy .xy_list").get($("#menu_list dd").index($(this)))).show();
     },function(){})

     $(".touchmenu div").click(function(){
         $(".touchmenu").children("ul").hide();
         $(this).next().show();
         $(this).next().children("li").click(function(){
            $(this).parent("ul").parent("li").children("div").children("span").text($(this).text());
            $(".touchmenu").children("ul").hide();
         });
        $(this).next().children("li").hover(function(){
            $(this).css({"background":"#b4bcda","color":"#fff"})
        },function(){
            $(this).css({"background":"#FAFAFD","color":"#5166B4"})
        })
     })

     $("#textJC").click(function(){
         if($(this).val().indexOf("输入")!=-1){
            $(this).val("")
        }
     })

     $("#textJC").blur(function(){
         if($(this).val()==""){
            $(this).val("输入学校名称")
        }
     })

     $(".lf_cont .dq a").click(function(){
         $(".lf_cont .dq a").removeClass("sel");
         $(this).addClass("sel");
//        return false
     })
})
</script>
<script language="javascript" type="text/javascript">
            function test(value){
                alert("我要给本院校 "+value+" 颗星");
                $('rating_simple3').attr('value',value);
            }
            function addCommentHF(t,schoolid,commentid){
                art.dialog.open('index/addCommentHF?s='+schoolid+'&c='+commentid,{
                    follow: t,
                    title:'评论',
                    id:"addComment",
                    width:680,
                    height:208,
                    drag: false,
                    resize: false,
                    ok:function(){
                        var iframeWin = this.iframe.contentWindow;
                        var content = iframeWin.$("#textCheck_id").val();
                        var verify = iframeWin.$("#verify").val();
                        var c = iframeWin.$("#commentid").val();
                        var s = iframeWin.$("#schoolid").val();
                        if(content == ''){
                            art.dialog.tips('留言内容不能为空！');
                            return false;
                        }
                        if(verify == ''){
                            art.dialog.tips('验证码不能为空！');
                            return false;
                        }
                        $.ajax({
                            type:'POST',
                            url:'index/saveComment',
                            data:'content='+content+'&verify='+verify+'&c='+c+'&s='+s,
                            success:function(msg){
                                if(msg == 1){
                                    art.dialog.tips('回复成功！');
                                    window.location.reload();
                                }else{
                                    art.dialog.tips(msg);
                                    return false;
                                }
                            }
                        });
                    }
                });
            }
            $(function() {
$("#rating_simple3").webwidget_rating_simple({
                    rating_star_length: '10',
                    rating_initial_value: '4',
                    rating_function_name: 'test',//this is function name for click
                    directory: 'resource/pingxing/'
                });
            });
        </script>

        </body>
</html>

